package com.lsp.microuser.user.dao;


import com.lsp.microcommon.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {

    User selectById(Integer id);

    User selectByUserName(String username);

    User selectByPhone(String phone);

    void insert(User user);

    void update(User user);

    void updatePoint(@Param("uid") Integer uid , @Param("point") Integer point);

    void deleteById(Long id);

}

